<%--
  Created by IntelliJ IDEA.
  User: 27770
  Date: 2025/9/19
  Time: 13:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>登陆页面</title>
  </head>
  <body>
  <h3>登陆页面</h3>
  <form action="login.do" method="post">
    账号:<input type="text" name="account">
    <c:if test="${errorLogin== '账号不存在'}">
      ${errorLogin }
    </c:if>
    <br>
    密码:<input type="password" name="password">
    <c:if test="${errorLogin== '密码错误'}">
      ${errorLogin }
    </c:if>
    <br>
    <input type="submit" value="登录">
  </form>
  </body>
</html>
